package hn.cch.spring_boot_security_rest.message;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="接口请求模板",description="适用于本系统所有接口请求")
public class Request<T> {

    @ApiModelProperty(value = "时间戳", example="2001-01-01")
    protected String timeStamp;
    @ApiModelProperty(value = "校验码", example="qwer1234abcd")
    protected String checkCode;

    private T data;

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
